package com.xmut.mall.search.vo;

import lombok.Data;

import java.math.BigDecimal;
import java.util.List;
import java.util.Map;

@Data
public class ProductVo {
    private Long skuId;

    private Long spuId;

    private String spuName;

    private String skuTitle;

    private BigDecimal skuPrice;

    private String skuImg;

    private Long saleCount;

    private Boolean hasStock;

    private Long hotScore;

    private Long brandId;

    private Long catalogId;

    private String brandName;

    private String brandImg;

    private List<SkuImagesEntity> images; // 展示图片列表

    private String detailImage; // 详细图片

    private Long commentNum; // 评论条数

    private List<CouponEntityVo> coupons; // 优惠券

    private List<FullDiscountEntityVo> fullReduce; // 满减

    private Map<String,Object> promotionMap;

    private List<SaleAttrVo> saleAttr; // 不同的销售属性 如:选择颜色和存储的不同版本

    private List<ProductAttrValueVo> showAttr; // 商品详情中展示的销售属性

    private Integer quantity; // 当前sku商品的库存

    private String goodsType = "PHYSICAL_GOODS"; // 当前sku的商品类型 默认是实物商品

    private BigDecimal weight; // 商品的重量

    private Long storeId;

    private String storeName;


}
